USAGE: eh_sgl infile [-v] [-d] [-s] [-a] [-l] [-b] [-h] [-q]
[-n n] [-i f] [-f f] [-w] [-L]
eh_sgl extracts histogram data from SGL output files created by xsgll
ARGUMENTS:
infile: input filename (SGL)
OPTIONS:
-v: expect vertex coordinates in .sgl file
-d: disply input data
construct histogram for:
-s: segment number (per SGL)
-a: area
-l: length
-b: width
-h: (convex) hull area
-q: quotient area/conv hull area
-n n: set number of bins to n (default: 10)
-i f: set initial value to f(float)
-f f: set final value to f(float)
-w: write output file of type .hdt (hist data)
-L: print Software License for this module
Example:
eh_sgl testsegm.sgl -a
testsegm.sgl:
logging SGL params in file testsegm.sgl
threshold settings:
ANGL_THRESH = 10.000000 slp_thresh = 0.176327
OVLP_THRESH = 50.000000
DIST_THRESH = 50.000000
input file for segment data: testsegm.seg
number of SGLs: 2
ACCEPT_LEVEL: 2
min sz for proc:
4
geometr prop of cluster 0:
no of segments: 6
area = 13235
length = 129.00, width = 106.00
asp_ratio = 1.22
avrg_dirn = 500.00
convex hull area = 14446
location of convex hull center: (322,243)
geometr prop of cluster 3:
no of segments: 5
area = 7482
length = 111.00, width = 70.00
asp_ratio = 1.59
avrg_dirn = 0.00
convex hull area = 7961
location of convex hull center: (118,247)
histogram of cluster longit. sizes:
maximum no of segm: 6
minimum no of segm: 5
1 1
histogram of cluster aspect ratios:
maximum asp ratio: 1.585714
minimum asp ratio: 1.216981
ex_bin_width: 0.036873
1 0 0
0 0 0 0
0 0 1
histogram of cluster areas:
maximum area: 13235
minimum area: 7482
area_bin_width: 575
1 0 0
0 0 0 0
0 0 1
nematic order parameter: S = 0.00
output:
...option a: hist of turn angles betw consec segm
...option w: write output to file
read sgl data from file four.seg
...number of segments in file four.seg: 22
...evaluating histogram of turn angles...
...sorting and constructing histogram
histogram:
......mean: 3.073956
...std_dev: 82.378144
...min: -157.380142, bin_width: 34.973366, max: 157.380142
3.00 0.00 0.00
3.00 1.00 5.00 0.00 0.00
3.00 0.00
Copyright (C) 1999 MLMSoftware Group, LLC.